package com.mall.shop.entity.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 属性分组(AttrGroup)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-16 15:11:28
 */
@Getter
@Setter
@TableName("pms_attr_group")
@Schema(name = "属性分组实体", description = "属性分组映射")
public class AttrGroup implements Serializable {
    private static final long serialVersionUID = 766184557750520362L;

    @TableId(value = "attr_group_id" , type = IdType.AUTO)
    @Schema(description = "分组id")
    private Long attrGroupId;

    @TableField(value = "attr_group_name")
    @Schema(description = "组名")
    private String attrGroupName;
    
    @TableField(value = "sort")
    @Schema(description = "排序")
    private Integer sort;
    
    @TableField(value = "descript")
    @Schema(description = "描述")
    private String descript;
    
    @TableField(value = "icon")
    @Schema(description = "组图标")
    private String icon;
    
    @TableField(value = "catelog_id")
    @Schema(description = "所属分类id")
    private Long catelogId;
    
}

